package com.cyxy.ojbackendjudgeservice.judge.strategy;

import com.cyxy.ojbackendmodel.model.codesandbox.JudgeInfo;
import com.cyxy.ojbackendmodel.model.dto.question.JudgeCase;
import com.cyxy.ojbackendmodel.model.entity.Question;
import com.cyxy.ojbackendmodel.model.entity.QuestionSubmit;
import lombok.Data;

import java.util.List;

//上下文（用于定义在策略中传递的参数）
@Data
public class JudgeContext {

    // 判题信息
    private JudgeInfo judgeInfo;
    // 输入
    private List<String> inputList;
    // 输出
    private List<String> outputList;
    // 判题用例
    private List<JudgeCase> judgeCaseList;
    // 题目
    private Question question;
    // 题目提交
    private QuestionSubmit questionSubmit;

}
